home *** CD-ROM | disk | FTP | other *** search
- HPPRINT Utilities HPPRINT
-
- hpprint [options] [file [...]]
-
- options:
- -r reverse the page order, i.e. print the last page first.
- This uses temporary files with the name "hpprint.*".
- Files are stored in the directory specified by the TMPDIR
- environment variable exists. Else the files are stored
- under "c:\".
-
- -w wrap long lines. The default action is to truncate long
- lines at 80 characters.
-
- -3 leave room for a three hole punch at the "top" of the page.
- This leaves 1/2 " free at the top and shortens a page by
- 6 lines (3 if using -l).
-
- -s strip control characters. Control characters other than
- LF, CR, TAB, and FF are ignored. Normally these characters
- are included and could change the formating of the document.
-
- -f turn on CR to CR/LF translation.
-
- -l use large print. Normally hpprint uses a 6 point font for
- the main text - this will cause it to use a 12 point font.
- Characters are still packed in at 16.67/inch horizontally.
-
- -tn set tab expansion to n. The default if -t is not specified
- is 8. If -t is specified without a number it will default
- to 4. 'n' must be a single digit from 0 to 9.
-
- Notes:
- 1. Options may occur in any order and can be combined with the following
- exception: the -3 option cannot occur directly after the -t option
- as it would be taken as -t3 (i.e. set tab stops every 3 characters).
-
- 2. Options are case insensitive.
-
- 3. A command line argument that begins with a '-' is assumed to be an
- option. Anything else is taken to be a file name.
-
-
- Hpprint prints out the specified files, or standard input, in a boxed format
- sideways on a HP Deskjet 500. This should work for any printer in the Desk
- Jet family.
-
- The printing is formatted as follows:
- File name
- file statistics
- ---------------------------------
- | page 1 | page 2 |
- | | |
- | | |
- | | |
- | | |
- ---------------------------------
-
- The options -3 and -l will affect how many lines will be printed per "page".
-
- If files are listed on the command line they will be printed (in reverse
- order). If no files are listed standard input is printed with the file name
- of "(stdin)". It is assumed that wild cards in the filenames will be expanded
- by the command shell.
-
- Note: I haven't been able to get it to work with stdin from the keyboard or in
- a pipeline with my system. However, it works fine with redirected stdin.
-
- Lines per page:
-
- | | -l |
- --------+-------+-------+
- | 83 | 41 |
- --------+-------+-------+
- -3 | 77 | 38 |
- --------+-------+-------+
-